package com.sanjiahantang.youjiarole.module.common.views;

import com.amap.api.location.AMapLocationClient;
import com.sanjiahantang.youjiarole.base.BaseView;
import com.sanjiahantang.youjiarole.module.common.adapters.HomeAdapter;

/**
 * Created by zy on 2017/9/1.
 */

public interface HomeView extends BaseView {

    String KEY_LAT = "lat";
    String KEY_LON = "lon";
    String KEY_ADDRESS = "address";

    double DEFAULT_LAT = 106.536012;
    double DEFAULT_LON = 29.565226;

    String DEFAULT_CITY = "重庆";

    AMapLocationClient getAMapLocationClient();

    void setLayoutRefreshing(boolean b);

    void initRecyclerView(HomeAdapter adapter);

    void getMoreHomePage();

    void showToast(String s);

    void showDialog(boolean flag,String message);

    void onNetError(boolean b);
}

